<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>成功页面</title>
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
</head>
<body>
测试结果在控制台上
<p>用户信息 ${user}</p>
<p>奖品信息</p>
${proIds}
<table class="layui-table" lay-data="{height:315, page:true, id:'test'}" >

  <thead>
    <tr>
      <th lay-data="{field:'proId',  width:160,sort: true}">ID</th>
      <th lay-data="{field:'proName', width:160,sort: true}">奖品名称</th>
    </tr>
  </thead>
  <c:forEach items="${proIds}" var="product">
     <tr>
     <td> <c:out value="${product.proId}"/></td>
     <td> <c:out value="${product.proName}"/></td>
     </tr>
  </c:forEach>

</table>

<script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>

</body>
</html>